package com.mengxuegu.springboot.mapper;


import com.mengxuegu.springboot.entities.User;

import java.util.List;

public interface UserMapper {
   User getUserByUsername(String username);

   User getUserById(Integer integer);

   List<User> getUserList(User user);

   int addUser(User user);

   int updateUser(User user);

   int deleteUser(Integer integer);

   int updatePassword(User  user);
}
